package com.ruoyi.law.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.law.domain.dto.LawTeamDTO;
import com.ruoyi.law.domain.entity.LawTeam;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author code
 * @since 2022-11-30
 */
public interface ILawTeamService extends IService<LawTeam> {

    /**
     * 保存dto
     *
     * @param lawTeamDTO 法律团队dto
     * @return boolean
     */
    boolean saveDto(LawTeamDTO lawTeamDTO);

    /**
     * 更新dto
     *
     * @param lawTeamDTO 法律团队dto
     * @return boolean
     */
    boolean updateDto(LawTeamDTO lawTeamDTO);

    /**
     * 通过id获取dto
     *
     * @param id id
     * @return {@link LawTeamDTO}
     */
    LawTeamDTO getDtoById(Long id);
}
